﻿using System;

namespace LD
{
    public delegate void ConnectionStatusDelegate(string name, Status status);
    public class BaseCommunication
    {
        public virtual event EventHandler<byte[]> OnMessageReceived;
        public ConnectionStatusDelegate ConnectionStateEvent;
        public virtual void Connect()
        {

        }
        public virtual void Closed()
        {

        }
        public virtual object Send(string content)
        {
            return string.Empty;
        }
    }
}
